angular.module('app').config(($stateProvider) => {

    $stateProvider.state('app.form-inputs', {
        url         : '/form-inputs',
        label       : 'Form Inputs',
        controller  : 'app.form-inputs',
        controllerAs: '$ctrl',
        templateUrl : 'view/app/form-inputs/form-inputs.html'
    });
}).controller('app.form-inputs', function () {
    var ctrl = this;
    ctrl.checkboxs = [
        {text: "HTML5", checked: true},
        {text: "CSS3", checked: false},
        {text: "JavaScript", checked: false}
    ];
    ctrl.radio = 'ng';
    ctrl.radios = [
        {text: "Backbone", value: "bb"},
        {text: "Angular", value: "ng"},
        {text: "Ember", value: "em"},
        {text: "Knockout", value: "ko"}
    ];
    ctrl.toggles = [
        {text: "Wireless", checked: true},
        {text: "GPS", checked: false},
        {text: "Bluetooth", checked: false}
    ];
});